
package com.zjxd.business.web.model.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zjxd.business.web.model.dto.OrderDto;
import com.zjxd.business.web.model.pojo.TBOrder;
import com.zjxd.business.web.model.pojo.TBOrderExample;
import com.zjxd.business.web.model.vo.OrderVo;

public interface TBOrderMapper {

	long countByExample(TBOrderExample example);

	int deleteByExample(TBOrderExample example);

	int deleteByPrimaryKey(Long orderid);

	int insert(TBOrder record);

	int insertSelective(TBOrder record);

	List<TBOrder> selectByExample(TBOrderExample example);

	TBOrder selectByPrimaryKey(Long orderid);

	int updateByExampleSelective(@Param("record") TBOrder record, @Param("example") TBOrderExample example);

	int updateByExample(@Param("record") TBOrder record, @Param("example") TBOrderExample example);

	int updateByPrimaryKeySelective(TBOrder record);

	int updateByPrimaryKey(TBOrder record);

	List<OrderVo> selectOrder(OrderDto dto);
}